package cn.itsource.org.service;

import cn.itsource.basic.util.PageList;
import cn.itsource.org.domain.Employee;
import cn.itsource.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {
    // 查询员工数据
    List<Employee> queryAll();
    // 分页查询
    PageList<Employee> queryPage(EmployeeQuery query);
    // 根据ID删除
    void delete(Long id);
    // 批量删除
    void deleteByIds(Long[] ids);
    // 修改
    void update(Employee employee);
    // 增加
    void add(Employee employee);
}
